﻿CREATE TABLE [dbo].[ToolTag] (
    [TagID]  INT          IDENTITY (1, 1) NOT NULL,
    [ToolID] INT          NOT NULL,
    [Tag]    VARCHAR (50) NULL,
    CONSTRAINT [PK4] PRIMARY KEY NONCLUSTERED ([TagID] ASC),
    CONSTRAINT [FK_ToolTag_Tags] FOREIGN KEY ([Tag]) REFERENCES [dbo].[Tags] ([Tag]),
    CONSTRAINT [RefTool1] FOREIGN KEY ([ToolID]) REFERENCES [dbo].[Tool] ([ToolID])
);

